<%@page isELIgnored="false"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Spring MVC Theme Switcher</title>
    <!-- 动态加载CSS文件 -->
    <link rel="stylesheet" type="text/css" href="/test/theme/${sessionScope['com.hqd.ch03.v40.web.servlet.theme.SessionThemeResolver.THEME']}.css">
</head>
<body>
    <h1>${message}</h1>

    <!-- 主题切换按钮 -->
    <a href="switch-theme?theme=blue">Blue Theme</a> |
    <a href="switch-theme?theme=red">Red Theme</a> |
    <a href="switch-theme?theme=default">Default Theme</a>
</body>
</html>
